import Vue from 'vue';
import App from './App';
import store from './store'; // store
import plugins from './plugins'; // plugins
import './permission'; // permission
import { getDicts } from '@/api/system/dict/data';
// 字典数据组件
import DictData from '@/components/DictData';

Vue.config.productionTip = false;
Vue.prototype.$store = store;
Vue.prototype.getDicts = getDicts;

Vue.use(plugins);
DictData.install();
App.mpType = 'app';

const app = new Vue({
	...App,
});

app.$mount();
